package com.woniu.car.parameter;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

@Data
public class ElasticServerAddParameter {
    @NotNull(message = "id不能为空")
    @Min(value=0,message = "id参数异常")
    private String id;
    @NotNull(message = "商铺Id不能为空")
    @Min(value = 0,message = "商铺Id异常")
    @ApiModelProperty(value = "根据商铺id操作",example = "0")
    private Integer shopId;
    @NotNull(message = "提供服务不能为空")
    @ApiModelProperty(value = "服务名")
    private String serviceName;
    @ApiModelProperty(value = "服务描述")
    private String description;
}
